import layout from '@/layout'

export default {
  path: '/departments', // 路径
  name: 'departments', // 给路由规则加一个name
  component: layout,
  children: [
    {
      path: '',
      component: () => import('@/views/departments'),
      meta: {
        // 左侧导航会读取我们这里的信息展示到左侧带单
        title: '组织架构',
        icon: 'tree'
      }
    }
  ]
}
